﻿
using System;

namespace Xc.DataAccess.CodeReader.Models
{
    /// <summary>
    /// 输入参数
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class InputParameterAttribute : Attribute
    {
        public InputParameterAttribute(string name,ParameterType parameterType = ParameterType.Must)
        {
            ParameterType = parameterType;
            Name = name;
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 参数类型
        /// </summary>
        public ParameterType ParameterType { get; set; }
    }
}
